package net.anzhuo.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import net.anzhuo.entity.GsPermission;


@Mapper
public interface GsPermissionMapper {
	public GsPermission getById(Long id);
	public List<GsPermission> getByCoMd5(String coMd5);
	public List<GsPermission> getByUpdateTime(GsPermission gsPermission);
	public List<GsPermission> getListWithPage(GsPermission gsPermission);
	public List<GsPermission> getList();
	public List<GsPermission> getListByQuery(GsPermission gsPermission);
	public Integer getCount(String coMd5);
	public void update(GsPermission gsPermission);
	public void save(GsPermission gsPermission);
	public void delete(Long id);
}
